import { Controller, Get } from '@nestjs/common';
import { TestService } from './test.service';
import { GrpcMethod, Payload } from '@nestjs/microservices';

@Controller()
export class TestController {
  constructor(private readonly testService: TestService) {}

  @GrpcMethod("TestService")
  TestLink(@Payload() data) {
    return this.testService.testLink(data)
  }

 
}
